/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.notice.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 梯无忧_消息通知_模板表实体类
 *
 * @author ysq
 * @since 2024-11-20
 */
@Data
@TableName("blade_middle_message_template")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MiddleMessageTemplate对象", description = "梯无忧_消息通知_模板表")
public class MiddleMessageTemplate extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 1-短信，2-公众号，3-电话，4-飞书-机器人，5-app推送，6-梯无忧pc， 7及以后预留
	 */
	@ApiModelProperty(value = "1-短信，2-公众号，3-电话，4-飞书-机器人，5-app推送，6-梯无忧pc， 7及以后预留")
	private Integer channelType;
	/**
	 * 所属业务类型，对应业务枚举
	 */
	@ApiModelProperty(value = "所属业务类型，对应业务枚举")
	private Integer businessType;
	/**
	 * 中台消息模板id
	 */
	@ApiModelProperty(value = "中台消息模板id")
	private Long middlePlatformTemplateId;
	/**
	 * 中台消息模板名称
	 */
	@ApiModelProperty(value = "中台消息模板名称")
	private String middlePlatformTemplateName;
	/**
	 * 跳转类型，1-小程序跳转，2-自定义url，其余保留
	 */
	@ApiModelProperty(value = "跳转类型，1-小程序跳转，2-自定义url，其余保留")
	private Integer skipType;
	/**
	 * 跳转路径
	 */
	@ApiModelProperty(value = "跳转路径")
	private String skipUrl;
	/**
	 * 通知栏图标
	 */
	@ApiModelProperty(value = "通知栏图标")
	private String iconUrl;
	/**
	 * app推送铃声
	 */
	@ApiModelProperty(value = "app推送铃声")
	private String sound;
	/**
	 * 消息通道名称
	 */
	@ApiModelProperty(value = "消息通道名称")
	private String appChannelName;
	/**
	 * 消息内容，冗余
	 */
	@ApiModelProperty(value = "消息内容，冗余")
	private String messageContent;
	/**
	 * 消息示例，冗余
	 */
	@ApiModelProperty(value = "消息示例，冗余")
	private String messageDemo;
	/**
	 * 系统默认-0，租户-1
	 */
	@ApiModelProperty(value = "系统默认-0，租户-1")
	private Integer systemDefault;

	/**
	 * 消息通道名称(账号)id
	 */
	@ApiModelProperty(value = "消息通道名称(账号)id")
	private Long sendAccountId;

	/**
	 * 完整标题 String
	 */
	@ApiModelProperty(value = "完整标题")
	private String messageTitleFull;

	/**
	 * 	完整内容 String
	 */
	@ApiModelProperty(value = "完整内容")
	private String messageContentFull;

	/**
	 * 第三方平台业务标识
	 */
	@ApiModelProperty("第三方平台业务标识")
	private Integer clientType;

	/**
	 * 短信签名
	 */
	@ApiModelProperty("短信签名")
	private String signName;

	/**
	 * 模板标题
	 */
	@ApiModelProperty(value = "模板标题")
	private String templateTitle;
}
